package com.spring.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * Hello world!
 */
@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
public class MicroserviceConfigApplication {

    /**
     * 启动Spring Cloud 上下文
     *
     * @param args
     */
    public static void main(String[] args) {
        SpringApplication.run(MicroserviceConfigApplication.class, args);
    }
}
